<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>bb管理系统</title>
	</head>
	<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
		
		<link rel="stylesheet" href="css/1.css"/>
	<body>
		<!--导航-->
	   
                         
                  
                  <div class="container-fluid">
                         	
                         	
                         	<div class="mainpage1">
                        <a style="color: darkgray;">商品管理</a>
                        <span style="color: black;">
                        	>
                        </span>
                        <a style="color: darkgray;">地址列表</a>
                    </div>
                    </div>
                  
                  
                  
                 
                   
                   <div class="container-fluid">
                         	
                         	
                         	<div class="mainpage">
                        <div class="row">
                        	
                       <a href="{:url{'/admin/user/useradd'}}"><input type="button" name="" id="" value="新增" /></a>
                        </div>
                    </div>
                    </div>
                        
                        
                        
                        
                                  
                                    
                        
                        <div class="col4">
                            <div class="intermediate-card">
                                
                                <div
                                    class="card-header d-flex">
                                    <h6 class="m-0 font-weight-bold text-primary">系统信息</h6>
                                    
                                </div>
                                
                                
                                
                                
                                <!-- 数据主体 -->
                                <div class="my">
                                    <table class="linear" cellspacing="0px">
                                    	<tr>
                                    		<td>用户编号</td>
                                    		<td>用户名</td>
                                    		<td>昵称</td>
                                    		<td>地址</td>
                                            <td>密码</td>
                                            
                                    		<td>操作
                                    		</td>
                                    	
                                        </tr>
                                        {foreach $user as $v}
                                    	<tr>
                                    		<td>{$v.id}</td>
                                    		<td>{$v.username}</td>
                                    		<td>{$v.nickname}</td>
                                    		<td>{$v.phone}</td>
                                    		<td>{$v.password}</td>
                                    		
                                    		<td><a href="{:url('admin/user/useredit',['id'=>$v.id])}"><button class="but">修改</button></a>
                                    			
                                    			<a href="{:url('admin/user/delete'),['id'=>$v.id]}"><button class="but1">删除</button></a>
                                    		</td>
                                    		
                                    	</tr>
                                    	{/foreach}
                                    	
                                    </table>
                                    
                                </div>
                            </div>
                        </div>
                        
	    </div>
	    

	
		<script src="vendor/jquery/jquery.min.js"></script>
    <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
	</body>
</html>
